﻿<!DOCTYPE html>
<html lang="zh-CN" ><!-- manifest="manifest.appcache" -->
  <head>
    <#include "/v1.5/part_meta.ftl">
    <title>收货地址 - 迈小众</title>
  </head>
<body>
<#include "/v1.5/part_navbar.ftl">
<div class="container">
  <div class="row col-md-offset-2 col-md-8" style="margin-top: 20px;">
    <form id="form_addOrEdit" class="form-horizontal">
      <div class="form-group">
        <label for="alias" class="col-sm-3 control-label">名称</label>
        <div class="col-sm-6">
          <input type="text" id="alias" name="alias" placeholder="地址简称，如家里、公司" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="regions" class="col-sm-3 control-label">地区<em>*</em></label>
        <div id="regions" class="col-sm-6"></div>
      </div>
      <div class="form-group">
        <label for="street" class="col-sm-3 control-label">街道地址<em>*</em></label>
        <div class="col-sm-6">
          <input type="text" id="street" name="street" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="postalCode" class="col-sm-3 control-label">邮编</label>
        <div class="col-sm-6">
          <input type="text" id="postalCode" name="postalCode" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="consignee" class="col-sm-3 control-label">收货人<em>*</em></label>
        <div class="col-sm-6">
          <input type="text" id="consignee" name="consignee" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="mobile" class="col-sm-3 control-label">手机号<em>*</em></label>
        <div class="col-sm-6">
          <input type="text" id="mobile" name="mobile" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="tel" class="col-sm-3 control-label">座机号</label>
        <div class="col-sm-6">
          <input type="text" id="tel" name="tel" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="isDefault" class="col-sm-3 control-label">&nbsp;</label>
        <div class="col-sm-6">
          <a class="checkbox check"><input type="checkbox" id="isDefault" name="isDefault" value="true"  checked class="hidden"></a> 设为默认地址
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-3 col-sm-6">
          <input type="hidden" id="addressId" name="addressId"/>
          <input type="hidden" id="regionId" name="region.regionId"/>
          <input type="hidden" id="regionName" name="regionName"/>
          <button type="submit" class="btn btn-success btn-lg col-xs-12">保 存</button>
        </div>            
      </div>
    </form>        
  </div>
  <#include "/v1.5/part_footer.ftl">  
</div>
<script data-main="${st.resDomain}/v1.5/js/user/address_addOrEdit" src="${st.resDomain}/v1.5/js/require.js"></script>
</body>
</html>
